﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Options.IBClient.Component.Enums
{
           /// <summary>
        /// Option Right Type (Put or Call)
        /// </summary>
        [Serializable()]
        public enum RightType
        {
            /// <summary>
            /// Option type is a Put (Right to sell)
            /// </summary>
            /// Description tag used to be "PUT"
            [Description("P")]
            Put,
            /// <summary>
            /// Option type is a Call (Right to buy)
            /// </summary>
            /// Description tag used to be "CALL"
            [Description("C")]
            Call,
            /// <summary>
            /// Option type is not defined (contract is not an option).
            /// </summary>
            [Description("")]
            Undefined
        }
}
